package com.qfjy.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * @ClassName DemoController
 * @Description TODO
 * @Author guoweixin
 * @Date 2022/3/22
 * @Version 1.0
 */
@Controller
@ResponseBody
@RequestMapping("demo")
public class DemoController {

    /** demo/info*/
    @GetMapping("info")
    public String info(){

        return "Hello Demo info===>"+System.currentTimeMillis();
    }

    @GetMapping("info1")
    public String info1(){

        return "Hello Demo info1";
    }

}
